﻿
using AutoMapper;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace ZFY.UMC.Model.Dto.User
{

    public class UserRegisterInput
    {
        [Required]
        public string UserName { get; set; }
        [Required]
        public string Password { get; set; }
        public string Email { get; set; }
        public string PhoneNumber { get; set; }
        public string ReturnUrl { get; set; }
        public AddressDto Address { get; set; } = new AddressDto();
        public string Signature { get; set; }
        public DateTime? BrithDay { get; set; }
        public string NickName { get; set; }
    }

    public class AddressDto
    {
        
        public string Province { get; set; }
        public string City { get; set; }
        public string County { get; set; }
    }
}
